Skip to content

refactor(ui): QueryaSpinner, QueryaBadge and the tree loading row off shadcn - #1412

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1365-spinner-badge-loadingrow-off-shadcn
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1365-spinner-badge-loadingrow-off-shadcn

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1365 (does not close it)

First migration under the ratchet guard from #1409: three more files of lib/shared/widgets/ stop importing package:shadcn_flutter, and leave the allow-list in the same change (the guard fails if they stay).

File Was Now
querya_spinner.dart Theme.of(context).colorScheme, Gap QueryaThemeScope workbench accent / muted, material theme as the no-scope fallback; SizedBox
querya_badge.dart Theme.of(context).colorScheme, Gap context.queryaTheme.colorScheme (the same scheme the app feeds to its theme), SizedBox
connection_tree_loading_row.dart Text(...).muted().xSmall(), Gap a plain Text with the workbench muted colour at 12 px, SizedBox

No behaviour change intended: the colours are the same sources (QueryaTheme.colorScheme is what toShadcnThemeData receives), the gaps are the same sizes.

Not in this PR

The files that need a button (querya_empty_state, querya_modal_dialog, querya_action_button) wait for QueryaButton (#1408); querya_dialog_card uses shadcn's radiusXxl; dropdown / search / tab strip / icon button take shadcn's Theme for their scheme and go as a group once the theme access is settled.

Not run locally; CI is the check.

…longer import shadcn

Colours come from the Querya theme scope (material theme as fallback in the
spinner), gaps are SizedBoxes and the loading label is a plain Text. The
three files leave the shadcn allow-list. Part of #1365.
@github-actions github-actions Bot added epic Epic / umbrella issue frontend Theme parser epic label: frontend ui User interface components and widgets ux User experience, keyboard shortcuts and interactions labels Oct 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 1f8af8d into dev Oct 11, 2026
13 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1365-spinner-badge-loadingrow-off-shadcn branch October 11, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

epic Epic / umbrella issue frontend Theme parser epic label: frontend ui User interface components and widgets ux User experience, keyboard shortcuts and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant